package archer.assets.controllers

import javax.inject.{ Inject, Singleton }

import play.api.i18n.I18nSupport
import play.api.mvc.{ AbstractController, ControllerComponents }
import utils._

import scala.concurrent.Future

@Singleton
class CommonIndex @Inject() (controllerComponents: ControllerComponents)
  extends AbstractController(controllerComponents)
  with I18nSupport
  with ArcherHelper {

  implicit def ec = defaultExecutionContext

  def index = Action.async { implicit request =>
    Future.successful(Ok(views.html.back.index()))
  }

}
